#include <iostream>
using namespace std;

class Point
{
	private :
		int m_x;
		int m_y;
		int m_xy[2];

	public :
		Point(int x = 0, int y = 0) :
			m_x(x), m_y(y)
		{
			cout << "Default Point init()" << endl << endl;
		}

		void display(void)
		{
			cout << "Point : (" << m_x << " , " << m_y << ")" << endl;
		}

		void move(int x, int y)
		{
			m_xy[0] = x;
			m_xy[1] = y;

			cout << "Point after move : (" << m_xy[0] << " , " << m_xy[1] << ")" << endl; 
		}

	protected :
};

int main()
{
	Point p(3, 4);

	p.display();
	
	p.move(4, 5);
}
